use rbatis::rbdc::datetime::DateTime;
use serde::{Deserialize, Serialize};

#[derive(Clone, Debug, Serialize, Deserialize)]
pub struct SysUser {
  pub id: Option<i64>,
  pub username: Option<String>,
  pub password: Option<String>,
  pub real_name: Option<String>,
  pub head_url: Option<String>,
  pub gender: Option<String>,
  pub email: Option<String>,
  pub mobile: Option<i32>,
  pub status: Option<i32>,
  pub del_flag: Option<i32>,
  pub creator: Option<i64>,
  pub create_date: Option<DateTime>,
  pub updater: Option<i64>,
  pub update_date: Option<DateTime>,
}
rbatis::crud!(SysUser {}, "sys_user");
